<%= javascript_include_tag "forward_maps" %>
<div class="search-area search-form">
  <div id="condition1" class="search-row">
    <label><%= t 'activerecord.attributes.forward_map.shipowner' %></label>
    <%= select_tag "forward_shipowner_id", options_from_collection_for_select(@shipowners, :id, :name), :include_blank => true %>
    <label><%= t 'activerecord.attributes.forward_map.cy' %></label>
    <%= select_tag "forward_cy_id", options_from_collection_for_select(@cies, :id, :name), :include_blank => true %>
    <label><%= t 'activerecord.attributes.forward_map.port' %></label>
    <%= select_tag "forward_port_id", options_from_collection_for_select(@ports, :id, :name), :include_blank => true %>
    <label><%= t 'activerecord.attributes.forward_map.course' %></label>
    <%= select_tag "forward_course", options_for_select(@courses), :include_blank => true %>
  </div>

  <div id="condition4" class="search-row">
    <label><%= t 'activerecord.attributes.forward_map.route' %></label>
    <%= select_tag "forward_route", options_for_select(@routes), :include_blank => true %>
    <label><%= t 'activerecord.attributes.forward_map.voyage' %></label>
    <%= select_tag "forward_voyage", options_for_select(@voyages), :include_blank => true %>
    <label><%= t 'activerecord.attributes.forward_map.bl_no' %></label>
    <input type="text" id="forward_bl_no" value="" onkeydown="SubmitKeyClick(event)">
    <a id="query-btn" class="s-btn inline-block" style="margin-left: 222px" href="javascript:find_bl()"><%= t 'activerecord.attributes.shiper_map.find_bl' %></a>
  </div>
</div>